package com.sjf.day02.AnnoTest;

/**
 * @author <huangtang>
 * @since 2021/12/27 17:06
 **/
public class Apple {

    @FruitName(value = "红富士苹果")
    private String name;
    @FruitColor(fruitColor = Color.GREEN)
    private String color;
    @FruitProvider(id = 1001,name = "陕西红富士苹果",address = "红富士大厦")
    private String provider;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getProvider() {
        return provider;
    }

    public void setProvider(String provider) {
        this.provider = provider;
    }
}
